home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / comm / fido / FindSysSrc.lha / FindSysopSrc / makedist < prev    next >
Text File  |  1995-08-29  |  1KB  |  40 lines

  1. ; Make the FindSysop distribution
  2. ; (to get out from the commands, remove all "QUIET", ">NIL:" and "q" flags)
  3.  
  4. failat 21
  5.  
  6. ; cleanup
  7. delete >NIL: T:FindSysop#? T:#?.DIZ ALL QUIET
  8.  
  9. ; Make temp dirs in T:
  10. makedir T:FindSysop
  11. makedir T:FindSysopSrc
  12.  
  13. ; copy files
  14. Copy FindSysop #?.guide#? FindSysop.readme Wangi.txt TO T:FindSysop QUIET
  15. Copy #?.(c|h|i|rev) makedist smakefile scoptions #?Src.readme TO T:FindSysopSrc QUIET
  16. Copy /FindSysop.info #?.readme #?.DIZ TO T: QUIET
  17. Copy /FindSysop.info TO T:FindSysopSrc.info
  18.  
  19. ; Change the version and date in files
  20. Version FindSysop >ENV:FindSysopVER
  21. Assign edfew: ""
  22. cd ENV:
  23. splat -o "FindSysop " "" "FindSysopVER"
  24. cd T:FindSysop
  25. splat -o "<<VERSION>>" "$FindSysopVER" "FindSysop.guide FindSysop.readme /FindSysop.readme /FILE_ID.DIZ"
  26. cd T:FindSysopSrc
  27. splat -o "<<VERSION>>" "$FindSysopVER" "FindSysopSrc.readme /FindSysopSrc.readme /srcFILE_ID.DIZ"
  28. cd edfew:
  29. Assign edfew: REMOVE
  30.  
  31. ; aminet archives
  32. lha -arxZq a T:FindSysop.lha T:FindSysop/#? T:FindSysop.info S:Contact T:FILE_ID.DIZ
  33. delete T:FILE_ID.DIZ QUIET
  34. Rename T:srcFILE_ID.DIZ T:FILE_ID.DIZ QUIET
  35. lha -arxZq a T:FindSysopSrc.lha T:FindSysopSrc/#? T:FindSysopSrc.info S:Contact T:FILE_ID.DIZ
  36.  
  37. ; cleanup
  38. delete T:FindSysop T:FindSysop.info T:FindSysopSrc T:FindSysopSrc.info T:#?.diz ALL QUIET
  39.  
  40.